/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.alxbrendmaquinarias.util;

import java.text.DecimalFormat;

/**
 *
 * @author jorge
 */
public class FormatUtil {
    
    public static String twoDecimals(double subTotal)
    {
        DecimalFormat df = new DecimalFormat("##.00");
        return df.format(subTotal);
    }
}
